home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / dcc_offer < prev    next >
Encoding:
Text File  |  2001-03-21  |  684 b   |  24 lines

  1. Synopsis:
  2.    on [<modes>]dcc_offer [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client offers an outbound DCC.  This
  6.    could be either a DCC CHAT or a file transfer.
  7.  
  8. Parameters:
  9.    $0    person who is being offered the DCC
  10.    $1    type of DCC being offered
  11.    $2    filename being offered (if type of DCC is 'SEND')
  12.    $3-   size of file being offered (if type of DCC is 'SEND')
  13.            
  14. Examples:
  15.    To alert user of bad DCC's:
  16.       on ^dcc_offer "#*" {
  17.          echo *** Offering a DCC to an entire channel will not work as
  18.      echo     expected. Please direct DCC offers to one person.
  19.       }
  20.  
  21. See Also:
  22.    dcc(1)
  23.  
  24.